home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Magazin: Amiga-CD 1997 May & June
/
Amiga-CD 1997 #5-6.iso
/
patches
/
finalwrapper3_13
/
finalwrapperpatch.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1997-02-15
|
454b
|
14 lines
/* $VER: FinalWrapperPatch.rexx 1.0 (15.02.97) by NDY's */
/* Forces a fixed width window, apply it if window is opened too small */
OPTIONS RESULTS
IF Open(path,"ENVARC:FinalWrapper/FWPath","R") THEN
DO
p=ReadLn(path)
CALL Close(path)
p=p||"FinalWrapper.rexx"
ADDRESS COMMAND "Echo >>"||p "TextLength: PROCEDURE"
ADDRESS COMMAND "Echo >>"||p "PARSE ARG x,text,x"
ADDRESS COMMAND "Echo >>"||p "RETURN (Length(text)-1)*8"
END